package com.wk.pojo;

import java.util.Date;

/**
 * @program: thesis
 * @description: 社区的博客类
 * @author: 王侃
 * @create: 2020-03-02 15:10
 **/
public class Blogs {
    private Integer id;
    private String subject;
    private String content;
    private Date createtime;
    private Integer user_id;
    private Integer praise;
    private String username;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getPraise() {
        return praise;
    }

    public void setPraise(Integer praise) {
        this.praise = praise;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Blogs(Integer id, String subject, String content, Date createtime, Integer user_id, Integer praise, String username) {
        this.id = id;
        this.subject = subject;
        this.content = content;
        this.createtime = createtime;
        this.user_id = user_id;
        this.praise = praise;
        this.username = username;
    }

    public Blogs(Integer id, String subject, String content, Date createtime, Integer user_id, Integer praise) {
        this.id = id;
        this.subject = subject;
        this.content = content;
        this.createtime = createtime;
        this.user_id = user_id;
        this.praise = praise;
    }

    public Blogs() {
    }
}
